/*
 * @LastEditTime: 2023-03-30 23:18:20
 * @Method: 
 * @Description: 
 */
package CodeTop;

public class Solution141 {
    public boolean hasCycle(ListNode head) {
        ListNode slow = head, fast = head;
        while (fast != null && fast.next != null) {
            fast = fast.next
        }
    }
}
